/**************************************************************************
 * @doc ISO
 * @module PIPTRAN.H - Header code for the American Express handling functions.|  
 * Header code for the American Express handling functions.
 *
 * Product     :   SoftPay 2000 (Global Payment Methodology).
 * <nl>Developer   :   SoftPay Development Team (I_SP2000).
 * <nl>Notes       :
 *
 * @head3 ISO Functions |
 * @index | ISO
 * @end
 *
 * Copyright (c) 1996-2000 by VeriFone Inc. All rights reserved.
 * 
 * No part of this software may be used, stored, compiled, reproduced,
 * modified, transcribed, translated, transmitted, or transferred, in any form 
 * or by any means whether electronic, mechanical, magnetic, optical, 
 * or otherwise, without the express prior written permission of VeriFone, Inc.
 *
 * Revision History
 * ------------------------------------------------------------------------
 * $log:  $
 * ------------------------------------------------------------------------
 ********************************************************************************/
#define A_AUTH_TRANS      0x0028           //@comm #define A_AUTH_TRANS      - 0x0000    or  00101000b
#define A_REFUND_TRANS    0x0009           //@comm #define A_REFUND_TRANS    - 0x0009    or  00001001b
#define A_SALE_TRANS      0x0008           //@comm #define A_SALE_TRANS      - 0x0008    or  00001000b
#define A_VOID_CREDIT     0x000d           //@comm #define A_VOID_CREDIT     - 0x000d    or  00001101b
#define A_VOID_DEBIT      0x000c           //@comm #define A_VOID_DEBIT      - 0x000c    or  00001100b
#define A_REFUND_OFFLINE  0x0011           //@comm #define A_REFUND_OFFLINE  - 0x0011    or  00010001b
#define A_SALE_OFFLINE    0x0010           //@comm #define A_SALE_OFFLINE    - 0x0010    or  00010000b
#define A_VOID_CR_OFFLINE 0x0015           //@comm #define A_VOID_CR_OFFLINE - 0x0015    or  00010101b
#define A_VOID_DB_OFFLINE 0x0014           //@comm #define A_VOID_DB_OFFLINE - 0x0014    or  00010100b
#define A_ADJUST_CREDIT   0x0013           //@comm #define A_ADJUST_CREDIT   - 0x0013    or  00010011b
#define A_ADJUST_DEBIT    0x0012           //@comm #define A_ADJUST_DEBIT    - 0x0012    or  00010010b

#define A_SEND_ADVICE     0x000b           //@comm #define A_SEND_ADVICE     - 0x000b    or  00001011b
#define A_SEND_REVERSAL   0x000a           //@comm #define A_SEND_REVERSAL   - 0x000a    or  00001010b
#define A_CLOSE_BEGIN     0x0018           //@comm #define A_CLOSE_BEGIN     - 0x0018    or  00011000b
#define A_CLOSE_DETAIL    0x0038           //@comm #define A_CLOSE_DETAIL    - 0x0038    or  00111000b
#define A_DCP_REVERSAL    0x0048           //@comm #define A_DCP_REVERSAL    - 0x0048    or  01001000b
#define A_CLOSE_END       0x0078           //@comm #define A_CLOSE_END       - 0x0078    of  01111000b

#define A_NONE            0x0000           //@comm #define A_NONE            - 0x0000
#define A_CASH            0x0008           //@comm #define A_CASH            - 0x0008
#define A_VOID_AUTH       0x0000           //@comm #define A_VOID_AUTH       - 0x0000
#define A_BALANCE         0x0008           //@comm #define A_BALANCE         - 0x0008
#define A_ADMIN           0x0008           //@comm #define A_ADMIN           - 0x0008

define PIPTRAN BIN
{
   (short,  inTranCode,      "")
   (short,  inTranType,      "")
}



